﻿/*----------------------------------------------------------------
       // Copyright (C) 2008 安华顺通(北京)科技有限公司
       // 版权所有。 
       //
       // 文件名：SysMacros.cs
       // 文件功能描述：系统内常量字符串的定义文件。
       //
       // 
       // 创建标识：杨波
       //
       // 修改标识：
       // 修改描述：
       //
       // 修改标识：
       // 修改描述：
//----------------------------------------------------------------*/
namespace RuleCode.ObjectTree
{
    internal class SysMarcros
    {
    }

    public class OT
    {
        //public const string stri = "this is test";
        public const string Root = "Root";
        public const string DataDictionary = "DataDictionary";
        public const string Tables = "Tables";
        public const string Table = "Table";
        public const string TableFields = "TableFields";
        public const string Fields = "Fields";
        public const string TableField = "TableField";
        public const string TableFieldGroups = "TableFieldGroups";
        public const string TableFieldGroup = "TableFieldGroup";
        public const string TableFieldGroupField = "TableFieldGroupField";
        public const string TableIndexes = "TableIndexes";
        public const string TableIndex = "TableIndex";
        public const string TableIndexField = "TableIndexField";
        public const string TableRelations = "TableRelations";
        public const string TableRelation = "TableRelation";
        public const string TableRelationField = "TableRelationField";
        public const string TableDeleteActions = "TableDeleteActions";
        public const string TableDeleteAction = "TableDeleteAction";
        public const string TableMethods = "TableMethods";
        public const string TableMethod = "TableMethod";
        public const string ExtendDataTypes = "ExtendDataTypes";
        public const string ExtendDataType = "ExtendDataType";
        public const string EDTRelations = "EDTRelations";
        public const string EDTRelation = "EDTRelation";
        public const string Menus = "Menus";
        public const string MenuItems = "MenuItems";
        public const string MenuItemGroup = "MenuItemGroup";
        public const string MenuItem = "MenuItem";
        public const string Menu = "Menu";
        public const string MenuItemInMenu = "MenuItemInMenu";
        public const string Item = "Item";
        public const string BaseEnums = "BaseEnums";
        public const string BaseEnum = "BaseEnum";
        public const string EnumElement = "EnumElement";
        public const string FieldGroups = "FieldGroups";
        public const string FieldGroup = "FieldGroup";
        public const string GroupField = "GroupField";
        public const string Group = "Group";
        public const string Indexes = "Indexes";
        public const string Index = "Index";
        public const string IndexField = "IndexField";
        public const string Relation = "Relation";
        public const string RelationField = "RelationField";
        public const string TableRelationRelatedField = "TableRelationRelatedField";
        public const string Field = "Field";
        public const string Method = "Method";
        public const string Forms = "Forms";
        public const string Form = "Form";
        public const string FormMethod = "FormMethod";
        public const string FormDesign = "FormDesign";
        public const string FormDesigns = "FormDesigns";
        public const string Panel = "Panel";
        public const string Queries = "Queries";
        public const string Query = "Query";
        public const string QueryMethods = "QueryMethods";
        public const string QueryMethod = "QueryMethod";
        public const string QueryDataSources = "QueryDataSources";
        public const string QueryDataSource = "QueryDataSource";
        public const string QueryDataSourceFields = "QueryDataSourceFields";
        public const string QueryDataSourceField = "QueryDataSourceField";
        public const string QueryDataSourceSorting = "QueryDataSourceSorting";
        public const string QueryDataSourceRange = "QueryDataSourceRange";
        public const string QueryDataSourceSortings = "QueryDataSourceSortings";
        public const string QueryDataSourceRanges = "QueryDataSourceRanges";
        public const string Button = "Button";
        public const string Buttons = "Buttons";
        public const string Tab = "Tab"; //yujie.zhou
        public const string Tabs = "Tabs"; //yujie.zhou
        public const string TabPages = "TabPages";
        public const string TabPage = "TabPage";
        public const string WebForms = "WebForms";
        public const string WebForm = "WebForm";
        public const string WebFormSingles = "WebFormSingles";
        public const string WebFormSingle = "WebFormSingle";
        public const string WebFormMasterSlaves = "WebFormMasterSlaves";
        public const string WebFormMasterSlave = "WebFormMasterSlave";
        public const string WebFormTrees = "WebFormTrees";
        public const string WebFormTree = "WebFormTree";
        public const string WebFormParameters = "WebFormParameters";
        public const string WebFormParameter = "WebFormParameter";
        public const string WebFormParaByUsers = "WebFormParaByUsers";
        public const string WebFormParaByUser = "WebFormParaByUser";
        public const string WebFormRelations = "WebFormRelations";
        public const string WebFormRelation = "WebFormRelation";
        public const string WebFormBlank = "WebFormBlank";
        public const string WebFormBlanks = "WebFormBlanks";
        public const string WebFormFieldGroups = "WebFormFieldGroups";
        public const string WebFormFieldGroup = "WebFormFieldGroup";
        public const string WebFormButtons = "WebFormButtons";
        public const string WebFormButton = "WebFormButton";
        public const string Grids = "Grids";
        public const string Grid = "Grid";
        public const string Groups = "Groups";
        public const string Trees = "Trees";
        public const string Tree = "Tree";
        public const string Spilts = "Spilts";
        public const string Spilt = "Spilt";
        public const string Filters = "Filters";
        public const string Filter = "Filter";
        public const string MenuItemButtons = "MenuItemButtons";
        public const string MenuItemButton = "MenuItemButton";
        public const string Class = "Class";
        public const string Classes = "Classes";
        public const string FormDataSources = "FormDataSources"; //yujie.zhou
        public const string XPathSeperater = "//";
        public const string XPathRootSeperator = "/";
        public const string XPathRoot = "NodesTemplates/";
    }

    public class OTChsName
    {
        public const string Root = "对象设计器";
        public const string DataDictionary = "数据字典";
        public const string Tables = "表";
        public const string Edts = "字段类型";
        public const string Views = "视图";
        public const string Enums = "枚举";
        public const string Macros = "宏";
        public const string Classes = "类";
        public const string Forms = "窗体";
        public const string Reports = "报表";
        public const string Queries = "查询";
        public const string Jobs = "工作";
        public const string Menus = "菜单";
        public const string MenuItems = "目录项";
        public const string Webs = "网络";
        public const string Resources = "资源";
        public const string References = "引用";

        public override string ToString()
        {
            return "ObjectTreeNodeNameInChinese";
        }
    }

    public class PropertyTypes
    {
        public const string EDTStringProperty = "EDTStringProperty";
        public const string EDTIntProperty = "EDTIntProperty";
        public const string EDTRealProperty = "EDTRealProperty";
        public const string EDTDateProperty = "EDTDateProperty";
        public const string EDTTimeProperty = "EDTTimeProperty";
        public const string EDTEnumProperty = "EDTEnumProperty";
        public const string EDTContainerProperty = "EDTContainerProperty";
        public const string EDTInt64Property = "EDTInt64Property";
        public const string TableFieldStringProperty = "TableFieldStringProperty";
        public const string TableFieldIntProperty = "TableFieldIntProperty";
        public const string TableFieldRealProperty = "TableFieldRealProperty";
        public const string TableFieldDateProperty = "TableFieldDateProperty";
        public const string TableFieldTimeProperty = "TableFieldTimeProperty";
        public const string TableFieldEnumProperty = "TableFieldEnumProperty";
        public const string TableFieldContainerProperty = "TableFieldContainerProperty";
        public const string TableFieldInt64Property = "TableFieldInt64Property";
    }

    public class EDTTypes
    {
        public const string EDTTypeString = "TString";
        public const string EDTTypeInt = "TInt";
        public const string EDTTypeReal = "TDouble";
        public const string EDTTypeDate = "TDate";
        public const string EDTTypeTime = "TTime";
        public const string EDTTypeEnum = "TEnum";
        public const string EDTtypeContainer = "TContainer";
        public const string EDTTypeInt64 = "TInt64";
    }

    public class FileExtendTypes
    {
        public const string CSharp = ".cs";
    }
    public class PropertyValue
    {

        public const string Auto = "Auto";
        public const string Left = "Left";
        public const string Right = "Left";
        public const string Center = "Center";
        public const string None = "None";
        public const string Restrict = "Restrict";
        public const string Cascade = "Cascade";
        public const string CascadeAndRestrict = "CascadeAndRestrict";
        public const string ComboBox = "ComboBox";
        public const string RadioButton = "RadioButton";
        public const string Standard = "Standard";
        public const string Default = "Default";
        public const string Watch = "Watch";
        public const string Vertical = "Vertical";
        public const string NoAccess = "NoAccess";
        public const string View = "View";
        public const string Edit = "Edit";
        public const string Add = "Add";
        public const string Delete = "Delete";
        public const string Arrow = "Arrow";
        public const string Mail = "Mail";
        public const string URL = "URL";
        public const string ThreeDots = "ThreeDots";
        public const string OpenFile = "OpenFile";
        public const string Calendar = "Calendar";
        public const string Phone = "Phone";
        public const string Absolute = "Absolute";
        public const string Relative = "Relative";
        public const string UPPER_CASE = "UPPER CASE";
        public const string lower_case = "lower case";
        public const string SentenceCase = "SentenceCase";
        public const string Prefixed = "Prefixed";
        public const string Suffixed = "Suffixed";
        public const string Yes = "Yes";
        public const string No = "No";
        public const string Dot = "Dot (.)";
        public const string Comma = "Comma (,)";
        public const string Space = "Space ( )";
        public const string Apostrophe = "Apostrophe (')";
        public const string NotSpecified = "NotSpacified";
        public const string BaseData = "BaseData";
        public const string DefaultData = "DefaultData";
        public const string BaseAndDefaultData = "BaseAndDefaultData";
        public const string EntireTable = "EntireTable";
        public const string Dialog = "Dialog";
        public const string Border = "Border";
        public const string Dynamic = "Dynamic";
        public const string Fixed = "Fixed";
        public const string Popup = "Popup";
        public const string RGB = "RGB";
        public const string WindowsPalette = "WindowsPalette";
        public const string Normal = "Normal";
        public const string SideToFit = "SideToFit";
        public const string SideBySide = "SideBySide";
        public const string StartUp = "StartUp";
        public const string OnDemand = "OnDemand";
        public const string Never = "Never";
        public const string Horizontal = "Horizontal";
        public const string SysQueryForm = "SysQueryForm";
        public const string ForceLiterals = "ForceLiterals";
        public const string ForcePlaceholders = "ForcePlaceholders";
        public const string AllFields = "AllFields";
        public const string NoFields = "NoFields";
        public const string OrderBy = "OrderBy";
        public const string GroupBy = "GroupBy";
        public const string Ascending = "Ascending";
        public const string Descending = "Descending";
        public const string Open = "Open";
        public const string Lock = "Lock";
        public const string Hide = "Hide";
        public const string AutoLeft = "AutoLeft";
        public const string AutoRight = "AutoRight";
        public const string LeftEdge = "LeftEdge";
        public const string RightEdge = "RightEdge";
        public const string TopEdge = "TopEdge";
        public const string BottomEdge = "BottomEdge";
        public const string ColumnWidth = "ColumnWidth";
        public const string Manaul = "Manaul";
        public const string Text = "Text";
        public const string Image = "Image";
        public const string Opaque = "Opaque";
        public const string Transparent = "Transparent";
        public const string Display = "Display";
        public const string Output = "Output";
        public const string Action = "Action";
    }
    public class FormStyles
    {
        public const string SimpleTable = "SimpleTable";
        public const string TreeTable = "TreeTable";
        public const string RelationTableNToN = "RelationTableNToN";
        public const string OneRecordTable = "OneRecordTable";
        public const string OneRecordTableByUser = "OneRecordUserByUser";
        public const string TwoMasterToTwoDetailTable = "TwoMasterToTwoDetailTable";
        public const string OneMasterToOneDetailTable = "OneMasterToOneDetailTable";
        public const string OneMasterToNDetailTable = "OneMasterToNDetailTable";

    }
}